package com.data.modules.ai.entity;

import com.data.common.entity.PageEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author zhangzhiwei
 */
@Data
@ToString
@ApiModel(value="部门编辑对象", description="部门对象")
public class AdminDeptBO extends PageEntity {

    @ApiModelProperty(value = "部门ID")
    private Integer deptId;

    @ApiModelProperty(value = "上级部门ID，0为最上级")
    @NotNull
    private Integer pid;

    @ApiModelProperty(value = "部门名称")
    @NotNull
    private String name;

    @ApiModelProperty(value = "部门别名")
    @Size(max = 100)
    private String otherName;

    @ApiModelProperty(value = "部门负责人")
    private Long ownerUserId;

    @ApiModelProperty(value = "部门三方code")
    private String codeThird;

    @ApiModelProperty(value = "节点级别0-主体   1-项目   2-城市  3-片区 4-站点")
    private Integer deptLevel;

    @ApiModelProperty(value = "节点类型0-汇流    1-甲方公司    2-乙方公司")
    private Integer deptType;

    @ApiModelProperty(value = "bp负责人id")
    private Long ownerBpId;

    @ApiModelProperty(value = "站点地址")
    @Size(max = 50)
    private String deptAddress;

    @ApiModelProperty(value = "城市编码")
    private String cityCode;

    @ApiModelProperty(value = "禁用标识 0-禁用 1-启用")
    private Integer isDisable;

    @ApiModelProperty(value = "数据来源 0-crm 2-趣用工后台 3-出海甲方平台")
    private Integer sourceData;

    @ApiModelProperty(value = "部门备注")
    private String remark;

    @ApiModelProperty(value = "渠道属性")
    private String channelAttribute;

    @ApiModelProperty(value = "内部类型 1-rp机构")
    private Integer interType;

    @ApiModelProperty(value = "c端负责人id")
    private Integer ownerConId;

    @ApiModelProperty(value = "查询的公司名称")
    List<String> companyNames;





}
